package com.yunxi.otd.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * SO、CIR接口时间设置查询条件VO
 * </p>
 *
 * @author XUQI
 * @since 2019-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OtdInterfaceConfigQueryVO对象", description = "SO、CIR接口时间设置查询条件VO")
public class OtdInterfaceConfigQueryVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "类型,SO/PSO/CIR")
    private String type;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "接口执行时间起")
    private Date startExecuteTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "接口执行时间止")
    private Date endExecuteTime;

    @ApiModelProperty(value = "是否开启")
    private String isOpen;

    @ApiModelProperty(value = "执行状态 W待发送 S已发送 E执行失败")
    private String state;

}
